package InitializeOrder;

public class OrderSon extends OrderFather{

	public static String strMsg = "子类Msg";
	
	public OrderSon(){
		System.out.println("子类构造函数");
		System.out.println("构造函数中，子类类成员变量=" + strMsg);
	}
	
	static {
		System.out.println("子类静态初始化器");
		System.out.println("子类成员变量=" + strMsg);
	}
	
	public void say() {
		System.out.println("子类说点什么，子类还是父类=" + strMsg);
	}
}
